<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd">

<html><head><title>/home/clancy/SMUOI/smuoi-demo/smrc.php</title><link rel="stylesheet" type="text/css" href="../styles/main.css"><script language=JavaScript src="../javascript/main.js"></script><script language=JavaScript src="../javascript/searchdata.js"></script></head><body class="ContentPage" onLoad="NDOnLoad()"><script language=JavaScript><!--
if (browserType) {document.write("<div class=" + browserType + ">");if (browserVer) {document.write("<div class=" + browserVer + ">"); }}// --></script>

<!--  Generated by Natural Docs, version Development Release 12-07-2007 (1.35 base) -->
<!--  http://www.naturaldocs.org  -->

<!-- saved from url=(0026)http://www.naturaldocs.org -->




<div id=Content><div class="CFile"><div class=CTopic id=MainTopic><h1 class=CTitle><a name="smrc.php"></a>smrc.php</h1><div class=CBody><!--START_ND_SUMMARY--><div class=Summary><div class=STitle>Summary</div><div class=SBorder><table border=0 cellspacing=0 cellpadding=0 class=STable><tr class="SMain"><td class=SEntry><a href="#smrc.php" >smrc.php</a></td><td class=SDescription></td></tr><tr class="SGroup"><td class=SEntry><a href="#Constants" >Constants</a></td><td class=SDescription></td></tr><tr class="SConstant SIndent1 SMarked"><td class=SEntry><a href="#SMUOI_PREFIX" >SMUOI_PREFIX</a></td><td class=SDescription>Root of etc, public &amp; private directories</td></tr><tr class="SConstant SIndent1"><td class=SEntry><a href="#DSK_DIR" >DSK_DIR</a></td><td class=SDescription>Location private desktop data should be saved</td></tr><tr class="SConstant SIndent1 SMarked"><td class=SEntry><a href="#DOC_DIR" >DOC_DIR</a></td><td class=SDescription>Parent directory to public document roots. </td></tr><tr class="SConstant SIndent1"><td class=SEntry><a href="#DSK_ROOT" >DSK_ROOT</a></td><td class=SDescription>Desktop document root. </td></tr><tr class="SConstant SIndent1 SMarked"><td class=SEntry><a href="#ERROR_LOGGING" >ERROR_LOGGING</a></td><td class=SDescription>Level of errors to be logged, bitwise as per error_reporting</td></tr><tr class="SConstant SIndent1"><td class=SEntry><a href="#Cruft_directory_symlink_targets" >Cruft directory symlink targets.</a></td><td class=SDescription></td></tr><tr class="SConstant SIndent1 SMarked"><td class=SEntry><a href="#SMUOI_RUN" >SMUOI_RUN</a></td><td class=SDescription>Run these extensions. </td></tr><tr class="SConstant SIndent1"><td class=SEntry><a href="#SMUOI_SCRIPT" >SMUOI_SCRIPT</a></td><td class=SDescription>Run these extensions, and parse for PHP. </td></tr><tr class="SConstant SIndent1 SMarked"><td class=SEntry><a href="#SMUOI_PARSE" >SMUOI_PARSE</a></td><td class=SDescription>Run these extensions, and parse for smurlies.</td></tr><tr class="SConstant SIndent1"><td class=SEntry><a href="#SMUOI_PERMIT_HANDOVER" >SMUOI_PERMIT_HANDOVER</a></td><td class=SDescription>Files that invoke SMUOI but are not run must have one of these extensions in order for SMUOI to permit handover to that file, which will then run itself as a PHP script. </td></tr><tr class="SConstant SIndent1 SMarked"><td class=SEntry><a href="#SMUOI_ESCAPE_XPIS" >SMUOI_ESCAPE_XPIS</a></td><td class=SDescription>If you wish you could use short open tags in files with XML processing instructions, Smuoi can help you at the expense of some perl regex overhead. </td></tr></table></div></div><!--END_ND_SUMMARY--></div></div></div>

<div class="CGroup"><div class=CTopic><h3 class=CTitle><a name="Constants"></a>Constants</h3></div></div>

<div class="CConstant"><div class=CTopic><h3 class=CTitle><a name="SMUOI_PREFIX"></a>SMUOI_PREFIX</h3><div class=CBody><p>Root of etc, public &amp; private directories</p></div></div></div>

<div class="CConstant"><div class=CTopic><h3 class=CTitle><a name="DSK_DIR"></a>DSK_DIR</h3><div class=CBody><p>Location private desktop data should be saved</p></div></div></div>

<div class="CConstant"><div class=CTopic><h3 class=CTitle><a name="DOC_DIR"></a>DOC_DIR</h3><div class=CBody><p>Parent directory to public document roots.&nbsp; They need not all reside in the same directory, but if they do then DOC_DIR is a handy constant.</p></div></div></div>

<div class="CConstant"><div class=CTopic><h3 class=CTitle><a name="DSK_ROOT"></a>DSK_ROOT</h3><div class=CBody><p>Desktop document root.&nbsp;  All desktop subdomains should point to this directory</p></div></div></div>

<div class="CConstant"><div class=CTopic><h3 class=CTitle><a name="ERROR_LOGGING"></a>ERROR_LOGGING</h3><div class=CBody><p>Level of errors to be logged, bitwise as per error_reporting</p></div></div></div>

<div class="CConstant"><div class=CTopic><h3 class=CTitle><a name="Cruft_directory_symlink_targets"></a>Cruft directory symlink targets.</h3><div class=CBody><table border=0 cellspacing=0 cellpadding=0 class=CDescriptionList><tr><td class=CDLEntry><a name="SMUOI_CRUFT_LOG_TARGET"></a>SMUOI_CRUFT_LOG_TARGET</td><td class=CDLDescription>target directory to write logs to.&nbsp; Default /var/log/smuoi</td></tr><tr><td class=CDLEntry><a name="SMUOI_CRUFT_TMP_TARGET"></a>SMUOI_CRUFT_TMP_TARGET</td><td class=CDLDescription>target directory to write tmp data to.&nbsp; Default /tmp/smuoi</td></tr><tr><td class=CDLEntry><a name="SMUOI_CRUFT_LOCAL_TARGET"></a>SMUOI_CRUFT_LOCAL_TARGET</td><td class=CDLDescription>target directory for processing files.&nbsp; Default /var/tmp/smuoi</td></tr></table><p>Define any of these values as false to use the cruft directory as parent instead.&nbsp; See the <a href="cruft/README-txt.html#Cruft_Directory_README" class=LSection id=link1 onMouseOver="ShowTip(event, 'tt1', 'link1')" onMouseOut="HideTip('tt1')">Cruft Directory README</a>.</p></div></div></div>

<div class="CConstant"><div class=CTopic><h3 class=CTitle><a name="SMUOI_RUN"></a>SMUOI_RUN</h3><div class=CBody><p>Run these extensions.&nbsp;  PARSE and SCRIPT both imply RUN.</p></div></div></div>

<div class="CConstant"><div class=CTopic><h3 class=CTitle><a name="SMUOI_SCRIPT"></a>SMUOI_SCRIPT</h3><div class=CBody><p>Run these extensions, and parse for PHP.&nbsp; PHP is always parsed first, should you mix SCRIPT and PARSE extensions</p></div></div></div>

<div class="CConstant"><div class=CTopic><h3 class=CTitle><a name="SMUOI_PARSE"></a>SMUOI_PARSE</h3><div class=CBody><p>Run these extensions, and parse for smurlies.</p></div></div></div>

<div class="CConstant"><div class=CTopic><h3 class=CTitle><a name="SMUOI_PERMIT_HANDOVER"></a>SMUOI_PERMIT_HANDOVER</h3><div class=CBody><p>Files that invoke SMUOI but are not run must have one of these extensions in order for SMUOI to permit handover to that file, which will then run itself as a PHP script.&nbsp; This directive is an important security failsafe.&nbsp; You may uncomment this to globally permit handover to PHP files, but <u>DO NOT</u> alter it unless you&rsquo;re entirely aware of the security implications.</p></div></div></div>

<div class="CConstant"><div class=CTopic><h3 class=CTitle><a name="SMUOI_ESCAPE_XPIS"></a>SMUOI_ESCAPE_XPIS</h3><div class=CBody><p>If you wish you could use short open tags in files with XML processing instructions, Smuoi can help you at the expense of some perl regex overhead.&nbsp; Any instruction beginning &lt;? but not immediately followed by whitespace, &ldquo;=&rdquo; or &ldquo;php&rdquo; will be escaped and unescaped when PHP is done.</p></div></div></div>

</div><!--Content-->


<div id=Footer><a href="http://www.naturaldocs.org">Generated by Natural Docs</a></div><!--Footer-->


<div id=Menu><div class=MEntry><div class=MFile><a href="cgi-workaround-php.html">cgi-workaround.php</a></div></div><div class=MEntry><div class=MFile><a href="cruft/README-txt.html">Cruft Directory README</a></div></div><div class=MEntry><div class=MGroup><a href="javascript:ToggleMenu('MGroupContent1')">Smernel</a><div class=MGroupContent id=MGroupContent1><div class=MEntry><div class=MFile><a href="Smernel/Adeliae/Resources/@public/js/unittest-js.html">Due to a fix in Firefox 1....6 or DP2.</a></div></div><div class=MEntry><div class=MFile><a href="Smernel/Adeliae/Resources/@public/js/builder-js.html">For Firefox &lt; 1.<span class=HB> </span>5, OPTION and OPTGROUP tags are currently broken,</a></div></div></div></div></div><div class=MEntry><div class=MFile id=MSelected>smrc.php</div></div><div class=MEntry><div class=MFile><a href="smuoi-prepend-php.html">smuoi-prepend.php</a></div></div><div class=MEntry><div class=MFile><a href="smuoi-php.html">smuoi.php</a></div></div><div class=MEntry><div class=MGroup><a href="javascript:ToggleMenu('MGroupContent2')">Index</a><div class=MGroupContent id=MGroupContent2><div class=MEntry><div class=MIndex><a href="../index/General.html">Everything</a></div></div><div class=MEntry><div class=MIndex><a href="../index/Constants.html">Constants</a></div></div><div class=MEntry><div class=MIndex><a href="../index/Files.html">Files</a></div></div><div class=MEntry><div class=MIndex><a href="../index/Functions.html">Functions</a></div></div></div></div></div><script type="text/javascript"><!--
var searchPanel = new SearchPanel("searchPanel", "HTML", "../search");
--></script><div id=MSearchPanel class=MSearchPanelInactive><input type=text id=MSearchField value=Search onFocus="searchPanel.OnSearchFieldFocus(true)" onBlur="searchPanel.OnSearchFieldFocus(false)" onKeyUp="searchPanel.OnSearchFieldChange()"><select id=MSearchType onFocus="searchPanel.OnSearchTypeFocus(true)" onBlur="searchPanel.OnSearchTypeFocus(false)" onChange="searchPanel.OnSearchTypeChange()"><option  id=MSearchEverything selected value="General">Everything</option><option value="Constants">Constants</option><option value="Files">Files</option><option value="Functions">Functions</option></select></div></div><!--Menu-->



<!--START_ND_TOOLTIPS-->
<div class=CToolTip id="tt1"><div class=CSection>This directory serves as a wrapper for the following symlinks - log - logs for SMUOI and PHP under SMUOI alike. </div></div><!--END_ND_TOOLTIPS-->




<div id=MSearchResultsWindow><iframe src="" frameborder=0 name=MSearchResults id=MSearchResults></iframe><a href="javascript:searchPanel.CloseResultsWindow()" id=MSearchResultsWindowClose>Close</a></div>


<script language=JavaScript><!--
if (browserType) {if (browserVer) {document.write("</div>"); }document.write("</div>");}// --></script></body></html>